package com.lmabbe.core.common.query;

import com.lmabbe.common.global.enums.WhereTypeEnum;
import com.lmabbe.common.global.query.PageQuery;
import com.lmabbe.common.global.query.WhereType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 用户表VO
 *
 * @author lmabbe
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户表")
public class SysUserQuery extends PageQuery {

    /**
     * 姓名
     */
    @WhereType(type = WhereTypeEnum.LIKE)
    @ApiModelProperty(value = "姓名")
    private String userName;


    /**
     * 手机
     */
    @WhereType(type = WhereTypeEnum.LIKE)
    @ApiModelProperty(value = "手机")
    private String userMobile;

    /**
     * 账号
     */
    @WhereType(type = WhereTypeEnum.LIKE)
    @ApiModelProperty(value = "账号")
    private String userAccount;


    /**
     * 部门ID
     */
    @WhereType(type = WhereTypeEnum.EQ)
    @ApiModelProperty(value = "部门ID")
    private Long orgId;

    /**
     * 岗位ID
     */
    @WhereType(type = WhereTypeEnum.EQ)
    @ApiModelProperty(value = "岗位ID")
    private Long stationId;

}